﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MenController : MonoBehaviour {
    private BoxCollider2D box;

    private void OnTriggerStay2D(Collider2D other)
    {
        if (other.gameObject.tag == "Player")
        {
            if (Input.GetKeyDown(KeyCode.W))
            {
                scenes2Ui.ui.ShowWinPanel();
            }
        }
    }
    // Use this for initialization
    void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
